<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/layout/head.jsp"%>
</head>
<body>
	<%@include file="/layout/bodyHeader.jsp"%>

	<div class="post">
		<h1>BudgetPro Login</h1>

		<div id="login-error">
			<c:if test="${param.error == 'true'}">Invalid User ID or password!</c:if>
		</div>
		<form action="secure/j_spring_security_check" method="post">
			<table class="noborder">
				<tbody>
					<tr>
						<td><label for="j_username">User ID</label></td>
						<td><input id="j_username" name="j_username" type="text" /></td>
					</tr>

					<tr>
						<td><label for="j_password">Password</label></td>
						<td><input id="j_password" name="j_password" type="password" /></td>
					</tr>
				</tbody>
			</table>
			<input type="submit" value="Login" />

		</form>
	</div>

	<div style="clear: both;">&nbsp;</div>

	<%@include file="/layout/bodyFooter.jsp"%>
</body>
</html>